<?php
/**
 * Created by PhpStorm.
 * User: 86188
 * Date: 2021/3/5
 * Time: 18:46
 */

namespace app\admin\controller;


use think\facade\Db;

class Wxuser extends Common
{
    public function userlist(){
        $page = request()->has('page') ? request()->get('page') : 1;
        $where=array();
        $userlist=Db::name('zz_wxuser')

            ->order('regTime desc')->paginate(100, false, [
                'page'  =>  $page,
                'query' =>  $where
            ]);
        View::assign("userlist",$userlist);
        return View::fetch();
    }
}